package com.greenlife.controller.util;

public class RandomUtil {
	
	/**
	 * 随机获取n个数字字符串
	 * @param n
	 * @return
	 */
	public static String getRandomRandom(int n){
		String returnValue = "";
		for (int i = 0; i < n; i++) {
			int random = (int)(Math.random()*10);
			returnValue += random;
		}
		return returnValue;
	}
}
